package com.yp.emp.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yp
 * @since 2022-03-16
 */
public class Category extends Model<Category> {

    private static final long serialVersionUID = 1L;

    private String cid;

    private String cname;

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }
    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    @Override
    protected Serializable pkVal() {
        return this.cid;
    }

    @Override
    public String toString() {
        return "Category{" +
            "cid=" + cid +
            ", cname=" + cname +
        "}";
    }
}
